package org.UserHouse.entity;

import java.util.Date;

/**
 * @author bin
 * @date 2024-12-16
 */
public class Hitem {
    private int Hid;
    private String Hname;
    private int Tid;
    private double Tprice;
    private String Hgrade;
    private String Hcontent;
    private String Himg;
    private Date Hdate;

    // 对象关联
    private Type type ;

    public Hitem(String himg, int hid, String hname, int tid, double tprice, String hgrade, String hcontent, Date hdate) {
        Himg = himg;
        Hid = hid;
        Hname = hname;
        Tid = tid;
        Tprice = tprice;
        Hgrade = hgrade;
        Hcontent = hcontent;
        Hdate = hdate;
    }

    public Hitem() {

    }

    public Date getHdate() {
        return Hdate;
    }

    public void setHdate(Date hdate) {
        Hdate = hdate;
    }

    public int getHid() {
        return Hid;
    }

    public void setHid(int hid) {
        Hid = hid;
    }

    public String getHname() {
        return Hname;
    }

    public void setHname(String hname) {
        Hname = hname;
    }

    public int getTid() {
        return Tid;
    }

    public void setTid(int tid) {
        Tid = tid;
    }

    public double getTprice() {
        return Tprice;
    }

    public void setTprice(double tprice) {
        Tprice = tprice;
    }

    public String getHgrade() {
        return Hgrade;
    }

    public void setHgrade(String hgrade) {
        Hgrade = hgrade;
    }

    public String getHcontent() {
        return Hcontent;
    }

    public void setHcontent(String hcontent) {
        Hcontent = hcontent;
    }

    public String getHimg() {
        return Himg;
    }

    public void setHimg(String himg) {
        Himg = himg;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }
}
